﻿@model IEnumerable<Mondial2014.Models.Gambling.Gambler>

@{
    ViewBag.Title = "משתתפים";
}

<h2>משתתפים</h2>

<p>
    @Html.ActionLink("משתתף חדש", "Create")
</p>

<table class="table">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.Name)
        </th>
        <th></th>
    </tr>

    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.ActionLink("עידכון הימורים", "Index", "GameGambles", new { id = item.Id }, null)
            </td>
        </tr>
    }

</table>

